#ifndef SYNTAXHIGHLIGHTER_H
#define SYNTAXHIGHLIGHTER_H

#include <QSyntaxHighlighter>
#include "config.h"
#include "hspell.h"

class SyntaxHighlighter : public QSyntaxHighlighter
{
    Config* m_config;
    HSpell	m_spell;

public:
    SyntaxHighlighter   (QTextDocument * parent);
    ~SyntaxHighlighter();

    void highlightBlock (const QString &text);
};

#endif // SYNTAXHIGHLIGHTER_H
